import Vue from 'vue'
import Vuex from 'vuex'
import login from './modules/login'
import persistedstate from 'vuex-persistedstate'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {},
  getters: {},
  mutations: {},
  actions: {},
  modules: {
    login
  },
  plugins: [
    persistedstate({
      paths: ['login.token']
    })
  ]
})
